{{#index}}
<div class="main-content">
	<div class="div-title">腾拍模拟玩家列表</div>
	<div class="search-div">
		<div class="search-content">
			<div class="search">
				<label class="">产品id</label>
				<input type="text" class="search-input search-param" name="productId"/>
			</div>
			<div class="search">
				<label class="">产品名称</label>
				<input type="text" class="search-input search-param" name="productName"/>
			</div>
	</div>

<div class="action-div">
	<button class="btn btn-sm btn-primary e-go" href="tengpaiMock/add">新增</button>
	<button class="btn btn-sm btn-primary e-table-search" table-class-name="bootstrapTable">搜索</button>
</div>
</div>

<div class="table-action-div">
	<button class="btn btn-sm btn-primary e-table-batch-delete" url="tengpaiMock/batchDelete" table-class-name="bootstrapTable">批量删除</button>
	<button class="btn btn-sm btn-primary e-table-export" url="tengpaiMock/export" search-param-class-name="search-param">导出</button>

	<js>if(data.timeStatus)</js>
	<js-code>
		<button class="btn btn-sm btn-primary e-changeStatus" >开始机器</button>
	</js-code>
	<js>else</js>
	<js-code>
		<button class="btn btn-sm btn-primary e-changeStatus" >暂停机器</button>
	</js-code>
	<button class="btn btn-sm btn-primary e-init-goods" >读取商品</button>
</div>
<table class="bootstrapTable">

</table>
</div>
{{/index}}


{{#add}}
<div class="main-content">
<div class="div-title">添加腾拍模拟玩家</div>
<form class="data-form">
<div class="form-horizontal m-t">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">产品id</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" name="productId" required="required">
	</div>
</div>
	</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">模拟玩家</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" name="mockPlayer">
	</div>
</div>
	</div>
</div>
<div class="form-horizontal m-t">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">产品名称</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" name="productName" required="required">
	</div>
</div>
	</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">购买数量</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" name="buyCount">
	</div>
</div>
	</div>
</div>
<div class="row">
<div class="col-sm-12 center-action-div">
	<button class="btn btn-primary e-submit" type="button">提交</button>
	<button class="btn btn-primary e-go-index" type="button">返回</button>
</div>
</div>
</form>
</div>
{{/add}}


{{#info}}
<div class="main-content">
<div class="div-title">腾拍模拟玩家详情</div>
<div class="form-horizontal m-t">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">产品id</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" readonly="readonly" name="productId" value="${data.tengpaiMock.productId}" required="required">
	</div>
</div>
	</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">模拟玩家</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" readonly="readonly" name="mockPlayer" value="${data.tengpaiMock.mockPlayer}">
	</div>
</div>
	</div>
</div>
<div class="form-horizontal m-t">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">产品名称</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" readonly="readonly" name="productName" value="${data.tengpaiMock.productName}" required="required">
	</div>
</div>
	</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">购买数量</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" readonly="readonly" name="buyCount" value="${data.tengpaiMock.buyCount}">
	</div>
</div>
	</div>
</div>
<div class="row">
<div class="col-sm-12 center-action-div">
	<button class="btn btn-primary e-go-index" type="button">返回</button>
</div>
</div>
</div>
{{/info}}


{{#update}}
<div class="main-content">
<div class="div-title">修改腾拍模拟玩家</div>
<form class="data-form">
<div class="form-horizontal m-t">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">产品id</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" name="productId" value="${data.tengpaiMock.productId}" required="required">
	</div>
</div>
	</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">模拟玩家</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" name="mockPlayer" value="${data.tengpaiMock.mockPlayer}">
	</div>
</div>
	</div>
</div>
<div class="form-horizontal m-t">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">产品名称</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" name="productName" value="${data.tengpaiMock.productName}" required="required">
	</div>
</div>
	</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-3 control-label">购买数量</label>
	<div class="col-sm-7">
		<input type="text" class="form-control data-param" name="buyCount" value="${data.tengpaiMock.buyCount}">
	</div>
</div>
	</div>
</div>
<div class="row">
<div class="col-sm-12 center-action-div">
	<button class="btn btn-primary e-update" type="button">修改</button>
	<button class="btn btn-primary e-go-index" type="button">返回</button>
</div>
</div>
</form>
</div>
{{/update}}
